花费 6 ms
ffmpeg设置avformat_open_input( )超时 -stimeout

ffmpeg用avformat_open_input()解析网络流时,默认是阻塞的。 当遇到解析错误的网络流时,会导致该函数长时间不返回。 为此可以设置ffmpeg的-stimeout 的参数,要 ...

Mon Jan 12 22:34:00 CST 2015 0 15490

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM